﻿<Page x:Class="MaxAlarm.Pages.MainPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="300"
	Title="MainPage">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Border Grid.Row="1" 
                    Margin="5"
                    BorderBrush="Gray"
                    BorderThickness="1">
            <Grid Background="White">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="200" />
                </Grid.ColumnDefinitions>



                <GridSplitter ResizeDirection="Columns" 
                                  Grid.Column="1" 
                                  Style="{StaticResource MainPanelsSplitter}" 
                                  HorizontalAlignment="Stretch" 
                                  VerticalAlignment="Stretch" 
                                  Margin="0"/>

            </Grid>
        </Border>

        <Border Grid.Row="1"
                    Background="{StaticResource DefaultGlassBrush}">
            <Grid x:Name="BottomGrid">
                <StackPanel Grid.Row="2"
                                Margin="0,3,0,3"
                                Orientation="Horizontal"
                                HorizontalAlignment="Center"
                                VerticalAlignment="Center">

                    <Button Style="{StaticResource BottomButtonStyle}"
                                VerticalAlignment="Center"
                                HorizontalAlignment="Center"
                                ToolTip="Settings">
                        <Canvas Background="{StaticResource RunBrush}"
							        Width="24"
							        Height="24" />
                    </Button>

                    <Button Style="{StaticResource BottomButtonStyle}"
                                VerticalAlignment="Center"
                                HorizontalAlignment="Center"
                                ToolTip="Settings">
                        <Canvas Background="{StaticResource RefreshBrush}"
							        Width="24"
							        Height="24" />
                    </Button>

                    <Button Style="{StaticResource BottomButtonStyle}"
                                VerticalAlignment="Center"
                                HorizontalAlignment="Center"
                                ToolTip="Settings">
                        <Canvas Background="{StaticResource SettingsBrush}"
							        Width="24"
							        Height="24" />
                    </Button>



                </StackPanel>

            </Grid>
        </Border>

    </Grid>
</Page>
